import { createApp } from 'vue'
import App from './App.vue'
import axiosInstance from './utils/axios'
import qs from 'qs'
import { createPinia } from 'pinia'
import router from './router'
import VueKinesis from "vue-kinesis";
import VueParticles from 'vue-particles'
import VChart from 'vue-echarts';


const app = createApp(App)
const pinia = createPinia()

app.config.globalProperties.$axios = axiosInstance;
app.config.globalProperties.$qs = qs; // 直接将 qs 添加到全局属性中


app.use(router)
app.use(pinia)
app.use(VueKinesis)
app.use(VueParticles)
app.component('v-chart',VChart)
app.mount('#app');
